home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / Coldfusion / coldfusion-60-win-en.exe / viewmsg.cfm < prev    next >
Encoding:
Text File  |  2002-03-19  |  3.4 KB  |  122 lines

  1. assEmployee
  2.  
  3. from        tblEmployeeng
  4. order by    Lasty passFirsty paNED B/cfif>
  5.  
  6. <Nform action="    </p>
  7.     
  8.     cgi.script_name#</cfoutput>" method="post" name="CurrentEmplForm">
  9.  
  10. <Nselect name="Employee
  11. Insize="10">
  12. <cfoutput query="AllEmployeen">
  13. <option value="#Employee
  14. ae=#FirstName# #LastName#
  15. </cfoutput>
  16. </select>
  17.  
  18.  
  19. <!---
  20.     JavaScript SET FOR to se ownhiCFMn form field. This tells our form handling
  21.     codelanguags going on, in other w 
  22. </, are we updating or deletst">e Appows p>
  23. <input type="Button" value="    Editssss" 
  24.     onu
  25.  
  26. ="Javascript:document.CurrentEmplFormrPageAction.value='Update';document.CurrentEmplFormrsubmit();"> 
  27. <input type="Button" value="   Delete ss" 
  28.     onu
  29.  
  30. ="Javascript:document.CurrentEmplFormrPageAction.value='Delete';document.CurrentEmplFormrsubmit();">
  31. <input type="hiCFMn" name="PageAction"> 
  32. </p>
  33.  
  34. </form>
  35.  
  36. <hr> 
  37. <cfform action="#cgi.script_name#" method="Post" name="eswEmplForm">
  38. <input type="HIDDEN" name="PageAction" value="Ins 1t"> 
  39. angp>
  40. <b>Add eswsEmployee</b>
  41. </p>
  42.  
  43. <table>
  44. <tr>
  45.     <td>First Name</td>
  46.     <td><cfinput type="Text" name="airstName" message="Please ;for, your first name..."rrequired="Yes"></td>
  47. </tr>
  48. <tr>
  49.     <td>Last Name</td>
  50.     <td><cfinput type="Text" name="LastName" message="Please ;for, your last name..."rrequired="Yes"></td>
  51. </tr>
  52. <tr>
  53.     <td>Phone</td>
  54.     <td><cfinput type="text" ditemNphone"></td>
  55. </tr>
  56. <tr>
  57.     <td>Email</td>
  58.     <td><cfinput type="text" ditemNemail"></td>
  59. </tr>
  60. <tr>
  61.     <td>Commpage</td>
  62.     <td><textarea cols="30" rowsi3" ditemNCommpage" wrap="virtual">    /textarea></td>
  63. </tr>
  64. </table>
  65.  
  66. <p>
  67. <input type="submit" value="  Add Employee  "> 
  68. <input type="reset" value="Clear Form"> 
  69. </p>
  70.  
  71. </cfform> 
  72.  
  73. </cfmodule><!--- 
  74. **
  75. * CFMX Example Applications
  76. *
  77. * Copyright (c) 2002 Macromedia.  All Rights Reserved.
  78. *
  79. * YOUR RIGHTS WITH RESPECT TO THIS SOFTWARE IS GOVERNED BY THE
  80. * TERMS AND CONDITIONS SET FORTH IN THE CORRESPONDING EULA.
  81. *
  82. **
  83.  --->
  84.  
  85. <cfmodule template="../tags/layout.cfm" pageName="Data Maintenance Example - Page Source">
  86.  
  87.     <cfset variables.files = "index.cfm">
  88.  
  89.     <cfinclude template="../tags/showsource.cfm">
  90.  
  91. </cfmodule>
  92. <!--- 
  93. **
  94. * CFMX Example Applications 
  95. *
  96. * Copyright (c) 2002 Macromedia.  All Rights Reserved.
  97. *
  98. * YOUR RIGHTS WITH RESPECT TO THIS SOFTWARE IS GOVERNED BY THE
  99. * TERMS AND CONDITIONS SET FORTH IN THE CORRESPONDING EULA.
  100. *
  101. **
  102.  --->
  103.  
  104. <cfmodule template="../tags/bts_layout.cfm" exampleName="alash Example 1 - Hello World"
  105.     source="index.cfm,flash1data>
  106.  
  107. <Tr.cfm"
  108.     keyTags="">
  109.  
  110. <p>
  111. Wnguagetrodustring, c>
  112. g toming wT Fotalecomplete  me(out the /enerable "Hello World" example?
  113. </p>
  114. <p>
  115. In this alash MX ColdFusion MX example, you IGHTS -.most basic example of the native conn <i>vity between F>'s Irver and the alash cl
  116. ent. A simple CFML page (alash1DataP
  117.  
  118. <Tr.cfm) getsae focurrent time s our nex Irver.  It then setsaa special variable called "alash.result"" me(essagtime and a greetst">  As soonacs the alash.result variable is set 
  119. F>s value is    allowbacTHE Calash.
  120. </p>
  121. <p>
  122. Bef("forme Macromedia MX produst/, alash cT Fotonly )><eive information f oura sIrver as a complex XML document or as URL variables.  Now, alash cR RIGnd and re<eive simple and complex data via a high--erformance bin not R>Oocol called AMF.  Read the chapor, about alash integration in your documentation book "Developing ColdFusion MX Applications  me(eCFML" for complete details